﻿@model MvcAtletIS.Models.CheckPoints

@{
    ViewBag.Title = "Check-pointy";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Check-pointy: @ViewBag.DisciplineList.Name</h2>

<fieldset>
    <legend>Zobraziť check-point</legend>

    <div class="display-label">@Html.LabelFor(model => model.OrderInDiscipline)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.OrderInDiscipline)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.Name)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.Code)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Code)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.PcId)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PcId)
    </div>

    <div class="display-label">@Html.LabelFor(model => model.LapCount)</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LapCount)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Editovať", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Naspäť na prehľad check-pointov", "Index", new { disciplineListId = ViewBag.DisciplineList.ID})
</p>
